/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  color:black;
}


/* ==================== Navi ====================*/

.navbar-template-head {
    border-radius: 0;
    box-shadow: none;
    min-height:54px;
    max-height: 54px;
}
/*
.navbar-template-show li a {
    padding: 0px;
}
*/
.navbar-brand {
    height: 56px;
    line-height: 1.4
}
.navbar-default {
    background-image: -webkit-linear-gradient(#fff 0%, #fdfdfd 100%);
    background-image: -o-linear-gradient(#fff 0%, #fdfdfd 100%);
    background-image: linear-gradient(#fff 0%, #fdfdfd 100%);
    position: absolute;
    width: 100%;
    left:0px;
    right: 0px;
    padding: 0px;
    border-bottom: 1px solid #EEE;
    border-top: none;
    box-shadow: 0 5px 20px rgba(51,51,51,0.02);
    z-index: 999;
    margin-top: 10px;
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
    text-transform: uppercase;
}
.navbar-is-active {
    position: fixed;
    opacity: 0.95;
    top:92px;
}
.navbar-template {
    margin: 7px 0px;
}
.navbar-template li a {
   padding: 9px 20px;
}
.navbar-template-hover li {
   padding: 9px 20px;
}
.navbar-template-hover {
    border: 1px solid #ddd;
    border-radius: 5px;
}
.navbar-template-hover li:hover {
    cursor: pointer;
}
.navbar-template-hover li:first-child {
    border-radius: 5px 0px 0px 5px;
}
.navbar-template-hover li:last-child {
    border-radius: 0px 5px 5px 0px;
}
.navbar-template-right li {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0px 7px;
}
.navbar-template-right li:hover {
    border-color: red;
}
.navbar-template-right li:hover a {
    color: red !important;
}
.active-navbar-template {
    background-color: #3C414D;
    color: white !important;
}
.live-view-collapse > .navbar-collapse.collapse {
  display: block!important;
  visibility: visible !important;
}
.live-view-collapse > .navbar-collapse > .navbar-nav>li{
  float: left !important;
}
.live-view-collapse > .navbar-collapse > .navbar-nav.navbar-right:last-child {
  margin-right: -15px !important;
}
.live-view-collapse > .navbar-collapse > .navbar-right {
  float: right!important;
}
.live-view-collapse > .navbar-header {
    float: left;
}
.show-for-mobile {
  display: none !important;
}

/* ==================== Template Box ====================*/
section#template-display > .flexbox-container {
    margin: 0 auto;
    max-width: 1300px;
    overflow: hidden;
    padding-top: 30px;
}
section#template-display > .flexbox-container a {
    display: block;
    color: #292525;
    text-decoration: none;
}
section#template-display h3{
    font-weight: 500;
    text-align: center
}
span.template-description {
    display: block;
    text-align: center;
    color: #575757
}
.template-box {
    height: auto;
}

#myCarousel {
    width: 100%;
}
.carousel-control {
    margin-top: 20px;
}
.carousel-inner .item {
    width: 100%;
    min-height: 30.75rem;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.ad1 {
    background: url(http://wrzuc.se/images/57612c3baf25d.jpg); 
}
.ad2 {
    background: url(http://wrzuc.se/images/57612c3baf25d.jpg);
}
.ad3 {
    background: url(http://wrzuc.se/images/57612c3baf25d.jpg);; 
}

/* ==================== Template presentation ====================*/

.demo-iframe-wrapper {
    position: fixed;
    top: 54px;
    width: 100%;
    height: calc(100% - 54px);
    border-radius: 10px;
    -webkit-transition: 0.5s;
    -o-transition:0.5s ;
    transition:0.5s;     
}
.framed {
    box-shadow: 0 0 0 29px #fff, 0 0 0 30px #dee0e3;
}
.demo-iframe-wrapper iframe {
    height: 100%;
    box-shadow: 0 0 0 1px #dee0e3;
}
.element-grid {
    margin-bottom: 50px;
}


/* ==================== Menu Effect ====================*/

/* Effect 1: Brackets */
.cl-effect-1 a::before,
.cl-effect-1 a::after {
  display: inline-block;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
  -moz-transition: -moz-transform 0.3s, opacity 0.2s;
  transition: transform 0.3s, opacity 0.2s;
}

.cl-effect-1 a::before {
  margin-right: 10px;
  content: '[';
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  transform: translateX(20px);
}

.cl-effect-1 a::after {
  margin-left: 10px;
  content: ']';
  -webkit-transform: translateX(-20px);
  -moz-transform: translateX(-20px);
  transform: translateX(-20px);
}

.cl-effect-1 a:hover::before,
.cl-effect-1 a:hover::after,
.cl-effect-1 a:focus::before,
.cl-effect-1 a:focus::after {
  opacity: 1;
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
}


/* ==================== Browser figure ====================*/

figure {
/*  max-width: 40rem;*/
  margin-bottom: 1.875rem;
  -webkit-transition: webkit-transform 0.7s;
  transition: transform 0.5s;    
  position: relative;
  margin: 0 auto;
  /* picture */
  /* Tablet */
  /* Mobile */
  /* Browser */
}
.figure:hover .browser-bar {
    background-color: #9f9f9f;
}
.figure:hover .browser-bar__button {
    background-color: white;
}
.figure--browser:hover  {
        -webkit-transform: translateY(-22px);
        transform: translateY(-22px);
}
.figure--browser:hover .figure--mobile  {
        -webkit-transform: translateY(22px);
        transform: translateY(22px);
}
.figure__picture {
/*  min-height: 32.75rem;*/
/*
  background: url('http://wrzuc.se/images/57612c3baf25d.jpg');
  background-size: cover;
*/
}
.figure--tablet {
  -moz-border-radius: 1.625rem;
  -webkit-border-radius: 1.625rem;
  border-radius: 1.625rem;
  background-color: #000000;
  border-color: #ffffff;
  border-style: solid;
  border-width: 3.8125rem 2rem 3.75rem 2rem;
  height: 34.25rem;
  position: relative;
  width: 25.625rem;
}
.figure--tablet::before, .figure--tablet::after {
  content: '';
  position: absolute;
}
.figure--tablet::before {
  -moz-border-radius: 0.1875rem;
  -webkit-border-radius: 0.1875rem;
  border-radius: 0.1875rem;
  box-sizing: border-box;
  background-color: #dcdcdc;
  height: 0.5rem;
  margin-left: -0.25rem;
  top: -2.125rem;
  left: 50%;
  width: 0.5rem;
}
.figure--tablet::after {
  -moz-border-radius: 30%;
  -webkit-border-radius: 30%;
  border-radius: 30%;
  box-sizing: border-box;
  border: 0.125rem solid #dcdcdc;
  left: 50%;
  margin-left: -0.5625rem;
  bottom: -2.75rem;
  height: 1.75rem;
  width: 1.75rem;
}
.figure--mobile {
  -moz-border-radius: 1.5rem;
  -webkit-border-radius: 1.5rem;
  border-radius: 1.5rem;
  background: url('http://wrzuc.se/images/576517a797b1a.png');
  background-size: cover;
  background-position:0px 0px;
  border-color: #f2f2f2;
  border-style: solid;
  border-width: 1.375rem 0.7rem 1.65rem 0.7rem;
  position: relative;
  height: 18.875rem;
  width: 10rem;
    -webkit-box-shadow: 0px 0px 2px 1px rgba(112,112,112,0.38);
    -moz-box-shadow: 0px 0px 2px 1px rgba(112,112,112,0.38);
    box-shadow: 0px 0px 2px 1px rgba(112,112,112,0.38);
  opacity: 0.9;
}
.figure--mobile::before, .figure--mobile:after {
  content: '';
  position: absolute;
}
.figure--mobile::before {
  -moz-border-radius: 0.1875rem;
  -webkit-border-radius: 0.1875rem;
  border-radius: 0.1875rem;
  box-sizing: border-box;
  background-color: #dcdcdc;
  height: 0.375rem;
  width: 3rem;
  top: -0.8rem;
  left: 50%;
  margin-left: -1.5rem;
}
.figure--mobile::after {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 0.125rem solid #dcdcdc;
  bottom: -1.3rem;
  left: 50%;
  margin-left: -0.5rem;
  height: 1.125rem;
  width: 1.125rem;
}
.figure--mobile-user {
    opacity: 1;
    position: absolute;
    right: 25px;
    bottom: -25px;
    z-index: 9;
}
.figure--browser .browser-bar {
  -webkit-transition: 1s;
  transition: 1s;
  -moz-border-radius-topleft: 0.625rem;
  -webkit-border-top-left-radius: 0.625rem;
  border-top-left-radius: 0.625rem;
  -moz-border-radius-topright: 0.625rem;
  -webkit-border-top-right-radius: 0.625rem;
  border-top-right-radius: 0.625rem;
  background-color: #bfbfbf;
  display: block;
  font-size: 0;
  height: 1.05rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
}
.figure--browser .browser-bar__button {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-color: #dcdcdc;
  display: inline-block;
  height: 0.4rem;
  margin-right: 0.4rem;
  margin-top: 0.4rem;
  width: 0.4rem;
}
@media (min-width: 200px) and (max-width: 560px) {
  section#template-display > .flexbox-container {
    margin-top: 100px;
  }
  .hide-for-mobile {
    display: none !important;
  }
  .show-for-mobile {
    display: block !important;
  }
}
@media (min-width: 300px) and (max-width: 449px) {
    .element-grid  {
        height: 280px;
    }
    .carousel-inner .item {
        min-height: 20rem;
    }
    .figure--mobile {
        display: none;
    }
}
@media (min-width: 450px) and (max-width: 774px) 
{
    .element-grid {
        width: 500px;
    }
    .carousel-inner .item {
        min-height: 30rem;
    }
}
@media (min-width: 775px) and (max-width: 991px)
{
    .element-grid  {
        
    }
    .carousel-inner .item {
        min-height: 28rem;
    }
    .figure--mobile {
        display: none;
    }    
}
@media (min-width: 992px) and (max-width: 1150px)
{
    .element-grid  {
        
    }
    .carousel-inner .item {
        min-height: 23rem;
    }
    .figure--mobile {
        display: none;
    }    
}
/* Small devices (tablets, 768px and up) */
/*@media (min-width: 200px) 
{ 
    .element-grid {
        width: 100%;
        margin-bottom: 5rem;
    }
    .figure--mobile-user {
        display: none;
    }
    .element-grid a {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        font: inherit;
        vertical-align: baseline;
        max-height: 14rem;
    }
}
@media (min-width: 300px) 
{ 
    .element-grid {
        width: 100%;

    }
    .element-grid a {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        font: inherit;
        vertical-align: baseline;
    }
}*/
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { ... }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { ... }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    section#template-display > .flexbox-container {
        max-width: 1300px;
    } 
    .figure__picture {
      min-height: 30.75rem;
    }
}

/* Large devices (desktops, 1400px and up) */
@media (min-width: 1500px) { 
    section#template-display > .flexbox-container {
        max-width: 1500px;
    }
}